package show.marvelous.infrastructure.dao.chessgame;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jilt.Builder;
import org.jilt.BuilderStyle;
import show.marvelous.domain.chessgame.constans.AirPlanColorEnum;

/**
 * The type Dice record do.
 * @author Kris  2021/9/16
 */
@Data
@Builder(style = BuilderStyle.TYPE_SAFE)
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "dd_dice_record")
public class DiceRecordDO{

    @Id
    private Long id;
    private Long gameId;
    @Enumerated(EnumType.STRING)
    private AirPlanColorEnum color;
    private Integer step;
}
